<?php
include("../_made/le.cfg.php");
include("common/header_1.html");
include("../com.inc.php");
$from=$_SERVER['HTTP_REFERER'];
if($_SERVER['SERVER_NAME']=='www.12301.cc') header('Location:dlogin_n.html');
if($_SERVER['SERVER_NAME']=='www.16u.cc')header('Location:http://www.16u.cc/new/d/dlogin_16u.html');
//if(!stristr($from,"12301.cc") || stristr($from,"logout.html") || stristr($from,"index.html") || $_SESSION['memberID'])
$from="";
/*
if($_COOKIE["passport"]){
	$sel="select derror from pft_member where account='".$_COOKIE["passport"]."' limit 1";
	$GLOBALS['le']->query($sel);
	$GLOBALS['le']->fetch_assoc();
	$derror=$GLOBALS['le']->f("derror");
}
$lbtp_t=array();
$sel="select iurl,iname,turl from uu_advertising where wid='4' and iused='1' order by px DESC";
$GLOBALS['le']->query($sel);
while($row=$GLOBALS['le']->fetch_assoc()){
	$lbtp_t[]=$row;
}
$imageCount=count($lbtp_t);*/
$passport=$_COOKIE["passport"]?$_COOKIE["passport"]:"商户ID或手机号码";
$style=$_COOKIE["passport"]?"color:#000":"";



//if(!$origin){$origin=array(array());$originisnull=1;}
$s=new richmodule;
$s->Fetch_Module_File("tpl/dlogin.tpl");
$s->Fetch_String("passport",$passport);
$s->Fetch_String("navi",$navi);
$s->Fetch_String("title",$h_config[$httphost]['name']);
$s->Fetch_String("servertel",$h_config[$httphost]['tel']);
$s->Fetch_String("style",$style);
$s->Fetch_String("from",$from);

//$s->Fetch_Array("origin", $origin,0,$originisnull);
if($_SERVER['HTTP_HOST']=='freeu.12301.cc') $s->Fetch_String("target","_top");
else $s->Fetch_String("target","ifr");
//针对个别分销商要求单独多一个判断文件
include ('more_webs_config.php');

$s->Set_Array_On();
//$s->Make_If_Module("tx", $tx);
$s->Output_Html();
include("u/common/foot.html");?>